//
//  MainIndexDataFactory.h
//  Chart
//
//  Created by ma xiaoyang on 6/18/13.
//
//

#ifndef __Chart__MainIndexDataFactory__
#define __Chart__MainIndexDataFactory__
#include "Quotation.h"
#include "IndexData.h"
#include "IndexDataFactory.h"


namespace ytx {
    class MainIndexDataFactory : public IndexDataFactory{
    public:
        MainIndexDataFactory();

        virtual void factory(const IndexConfig indexConfig);
        virtual IndexData * getIndexData(IndexConfig indexConfig, bool update = false);

        IndexData* getMA(IndexConfig indexConfig, bool update = false);

        IndexData* getBOLLIN(IndexConfig indexConfig, bool update = false);

        IndexData* getTJ(IndexConfig indexConfig, bool update = false);
        
        IndexData* getQK(IndexConfig indexConfig, bool update = false);
        
        IndexData* getQKT(IndexConfig indexConfig, bool update = false);
        
        IndexData* getGameMatrix(IndexConfig indexConfig, bool update = false);
        
        IndexData* getHJJT(IndexConfig indexConfig, bool update = false);
        
        virtual ~MainIndexDataFactory();
    };
}
#endif /* defined(__Chart__MainIndexDataFactory__) */
